package com.example.dingtalkwebproject.service.impl;

import com.example.dingtalkwebproject.mapper.dingTalkSendContentMapper;
import com.example.dingtalkwebproject.pojo.dingTalkSendContent;
import com.example.dingtalkwebproject.service.dingTalkSendContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class dingTalkSendContentServicelmpl implements dingTalkSendContentService {

    @Autowired
    private dingTalkSendContentMapper dingTalkSendContentMapper;

    @Override
    public int insertMarkdownMessage(dingTalkSendContent dingTalkSendContent) {
        return dingTalkSendContentMapper.insertMarkdownMessage(dingTalkSendContent);
    }

    @Override
    public int insertTextContent(dingTalkSendContent dingTalkSendContent) {
        return dingTalkSendContentMapper.insertTextContent(dingTalkSendContent);
    }
}
